<td valign="top">
	<div class="right_title" style="border-bottom:none">
		<div class="font12 b" style="line-height:24px;">&nbsp;&nbsp;折扣管理</div>
	</div>
	<div class="border"  style=" width:97%; height:680px;border-top:none">
		<div class="searchTitle">查询条件</div>
		<table border="0" cellpadding="0" cellspacing="0" width="100%">
			<form action="<?php echo $this->createUrl("products/index");?>" name="form" method="post">
			<tr>
				<td>&nbsp;&nbsp;&nbsp;名称:<input type="text" name="keyword" value="" /></td>
				
				<td align="right">
					<input type="submit" name="searchBtn" value="查询"/>
					
					&nbsp;&nbsp;&nbsp;
				</td>
			</tr> 
			</form>
		</table>
		<div class="tabHead">
		&nbsp;列表
		</div>
		<table width="100%" border="0" cellpadding="0" cellspacing="0" id="content" style="margin:0 auto">
			<tr height="25" align="center" bgcolor="#EFEFEF">
				<th width="3%">选择</th>
				<th width="23%">名称</th>
				<th width="14%">分类</th>
				<th width="22%">商场</th>
				<th width="15%">折扣</th>
				<th width="10%">楼层</th>
				<th width="13%">操作</th>
			</tr>
			<?php foreach($data["data"] as $k=>$v){?>
			<tr height="25" align="left">
				<td align="center"><input type="checkbox" name="select" value="<?php echo $v["id"]?>"/></td>
				<td style="padding-left:10px" align="center"><?php echo $v["name"];?></td>
				<td align="center"><?php echo $v["cate"];?></td>
				<td align="center"><?php echo $v["company"];?></td>
				<td align="center"><?php echo $v["intro"];?></td>
				<td align="center"><?php echo $v["floor"];?></td>
				<td>
				  <div align="center">
				  <!--<a href="<?php echo $this->createUrl("products/modify",array("id"=>$v["id"]))?>">编辑</a> -->
				  <a href="javascript:void(0)" onClick="del('<?php echo $this->createUrl("zksd/delete",array("id"=>$v["id"]))?>')">删除</a>
				  </div>
				</td>
			</tr>
			<?php }?>
			<tr height="25" align="center" bgcolor="#EFEFEF">
				<td colspan="7"><?php echo $data["assign"]?></td>
			</tr>
		</table>
		
	</div>
</td>
<script>
function del(url){
	if(!confirm("一但删除将不可恢复，是否确认删除？")){
		return false;
	}
	window.location = url;
}
</script>